<#include "/public/macro.html">
<style>
	.layui-form-label{
		width: 140px !important;
	}
	.detail-form .layui-form-item{
		margin-bottom: 0px;
	}
	.detail-form .layui-input-value{
		min-height:38px;
		line-height: 38px;
	}
</style>
<div class="uk-layui-form">
	<form class="layui-form detail-form" >
		<div class="layui-collapse">
			<div class="layui-colla-item">
				<h2 class="layui-colla-title">基本信息</h2>
				<div class="layui-colla-content layui-show">
					<div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">名称：</label>
							<div class="layui-input-inline">
								<div class="layui-input-value">${tenant.tenantname!''}</div>
							</div>
						</div>
						<div class="layui-inline">
							<div class="layui-form-item">
								<label class="layui-form-label" >类型：</label>
								<div class="layui-input-inline">
									<div class="layui-input-value">
									<#if tenantTypeList?? && tenantTypeList?size gt 0>
										<#list tenantTypeList as type>
											<#if tenant.type==type.id>${type.name!''}</#if>
										</#list>
									</#if>
									</div>
								</div>
							</div>
						</div>
					</div>

					<div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">分类：</label>
							<div class="layui-input-inline">
								<div class="layui-input-value">${tenant.category!''}</div>
							</div>
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">分组：</label>
							<div class="layui-input-inline">
								<div class="layui-input-value">${tenant.grouping!''}</div>
							</div>
						</div>
					</div>

					<div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">评价星级：</label>
							<div class="layui-input-inline">
								<div class="layui-input-value">${tenant.scorestar!''}</div>
							</div>
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">店铺等级：</label>
							<div class="layui-input-inline">
								<div class="layui-input-value">${tenant.level!''}</div>
							</div>
						</div>
					</div>

					<div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">主营业务：</label>
							<div class="layui-input-inline">
								<div class="layui-input-value">${tenant.mainbusiness!''}</div>
							</div>
						</div>
					</div>

					<div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">PC店铺地址：</label>
							<div class="layui-input-inline">
								<div class="layui-input-value">${tenant.pcurl!''}</div>
							</div>
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">移动端店铺地址：</label>
							<div class="layui-input-inline">
								<div class="layui-input-value">${tenant.h5url!''}</div>
							</div>
						</div>
					</div>
					<div class="layui-form-item" >
						<label class="layui-form-label">店铺描述：</label>
						<div class="layui-input-inline">
							<div class="layui-input-value">${tenant.description!''}</div>
						</div>
					</div>
				</div>
			</div>
		</div>

		<div class="layui-collapse">
			<div class="layui-colla-item">
				<h2 class="layui-colla-title">联系信息</h2>
				<div class="layui-colla-content layui-show">
					<div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label" >所在地区：</label>
							<div class="layui-input-inline">
								<div class="layui-input-value">${uKeFuDic[tenant.province!''].name!''}${uKeFuDic[tenant.city!''].name!''}${uKeFuDic[tenant.area!''].name!''}</div>
							</div>
						</div>
					</div>

					<div class="layui-form-item">
						<label class="layui-form-label">详细地址：</label>
						<div class="layui-input-inline">
							<div class="layui-input-value">${tenant.addr!''}</div>
						</div>
					</div>

					<div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">联系电话：</label>
							<div class="layui-input-inline">
								<div class="layui-input-value">${tenant.mobile!''}</div>
							</div>
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">邮箱：</label>
							<div class="layui-input-inline">
								<div class="layui-input-value">${tenant.mail!''}</div>
							</div>
						</div>
					</div>

					<div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">QQ：</label>
							<div class="layui-input-inline">
								<div class="layui-input-value">${tenant.qq!''}</div>
							</div>
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">微信号码：</label>
							<div class="layui-input-inline">
								<div class="layui-input-value">${tenant.wechat!''}</div>
							</div>
						</div>
					</div>
					<div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">阿里旺旺号码：</label>
							<div class="layui-input-inline">
								<div class="layui-input-value">${tenant.aliwangwang!''}</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>

		<div class="layui-collapse">
			<div class="layui-colla-item">
				<h2 class="layui-colla-title">其他信息</h2>
				<div class="layui-colla-content layui-show">
					<div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">标签：</label>
							<div class="layui-input-inline">
								<div class="layui-input-value">${tenant.tag!''}</div>
							</div>
						</div>
					</div>
					<div class="layui-form-item" >
						<label class="layui-form-label">备注：</label>
						<div class="layui-input-inline">
							<div class="layui-input-value">${tenant.remark!''}</div>
						</div>
					</div>
				</div>
			</div>
		</div>

		<div class="layui-collapse">
			<div class="layui-colla-item">
				<h2 class="layui-colla-title">系统信息</h2>
				<div class="layui-colla-content layui-show">
					<div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">租户ID：</label>
							<div class="layui-input-inline">
								<div class="layui-input-value">${tenant.tenantcode!''}</div>
							</div>
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">文本坐席数量：</label>
							<div class="layui-input-inline">
								<div class="layui-input-value">${tenant.agentnum!0}</div>
							</div>
						</div>
					</div>

					<div class="layui-form-item">
						<#if models?? && models["callcenter"]?? && models["callcenter"] == true>
						<div class="layui-inline">
							<label class="layui-form-label">呼叫中心坐席数量：</label>
							<div class="layui-input-inline">
								<div class="layui-input-value">${tenant.callcenteragentnum!0}</div>
							</div>
						</div>
					</#if>
					<#if models?? && models["calloutai"]?? && models["calloutai"] == true>
					<div class="layui-inline">
						<label class="layui-form-label">电销机器人并发数量：</label>
						<div class="layui-input-inline">
							<div class="layui-input-value">${tenant.robotagentnum!0}</div>
						</div>
					</div>
				</#if>
			</div>

			<div class="layui-form-item">
				<label class="layui-form-label">授权模块：</label>
				<div class="layui-input-inline">
					<div class="layui-input-value">${tenant.models!''}</div>
				</div>
			</div>
		</div>
</div>
</div>

</form>
</div>

<script type="text/javascript">
	//Demo
	layui.use('form', function(){
		var form = layui.form;
		form.render(); //更新全部
	});
</script>